﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Create.aspx.cs" Inherits="SJKP.PDFConversion.ADMIN.SJKP.OCR.Create" MasterPageFile="~/_layouts/dialog.master" %>
<%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="IisWebServiceApplicationPoolSection" src="~/_admin/IisWebServiceApplicationPoolSection.ascx" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>


<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderDialogBodyMainSection" runat="server">
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="ms-propertysheet">
<wssuc:InputFormSection ID="ifcName" runat="server">
<Template_InputFormControls>
    <wssuc:InputFormControl LabelText="Service Application Name:" runat="server">
        <Template_Control>
            <wssawc:InputFormTextBox runat="server" ID="txtName"></wssawc:InputFormTextBox>
            <wssawc:InputFormRequiredFieldValidator ControlToValidate="txtName" ErrorMessage="Service Application name must be specified" />
        </Template_Control>
    </wssuc:InputFormControl>
</Template_InputFormControls>
</wssuc:InputFormSection>

<wssuc:InputFormSection ID="ifcType" runat="server">
        <Template_Description>
            <wssawc:EncodedLiteral ID="EncodedLiteral1" runat="server" Text="Selec the PDF Converter Type you want the service application to use."/>
        </Template_Description>
<Template_InputFormControls>
    <wssuc:InputFormControl LabelText="PDF Converter Type:" runat="server">
        <Template_Control>
            <wssawc:DVDropDownList runat="server" ID="dvdList">
            <asp:ListItem Text="PassThroughConverter" Selected="True" Value="PdfConverter.PassThroughConverter, PdfConverter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=63f06fb3f2710503"></asp:ListItem>
            <asp:ListItem Text="Aquaforest Pdf Converter" Value="PdfConverter.AquaforestPdfConverter, PdfConverter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=63f06fb3f2710503"></asp:ListItem>
            </wssawc:DVDropDownList >
            <wssawc:InputFormRequiredFieldValidator ControlToValidate="txtName" ErrorMessage="Service Application name must be specified" />
        </Template_Control>
    </wssuc:InputFormControl>
</Template_InputFormControls>
</wssuc:InputFormSection>
		<wssuc:InputFormSection
			Title="Add to default proxy list"
			Description="Add the service application to the default application proxy group?"
			runat="server">
			<Template_InputFormControls>
				<wssuc:InputFormControl LabelAssociatedControlID="cbDefaultGroup" runat="server">
					<Template_control>
					   <SharePoint:InputFormCheckBox ID="cbDefaultGroup" runat="server" Checked="True"
						             Text="Add OCR service" />
					</Template_control>
				</wssuc:InputFormControl>
			</Template_InputFormControls>
		</wssuc:InputFormSection>
<wssuc:IisWebServiceApplicationPoolSection ID="serviceApplicationPoolSection" runat="server">

</wssuc:IisWebServiceApplicationPoolSection>
<wssawc:FormDigest runat="server" ID="fDigest"></wssawc:FormDigest>
</table>
</asp:Content>

<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderDialogDescription" runat="server">
Create OCR Service Application
</asp:Content>

<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderDialogHeaderPageTitle" runat="server" >
Create OCR Service Application
</asp:Content>
